package org.thanos.demo;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync
@EnableScheduling
@SpringBootApplication(scanBasePackages = "org.thanos.demo")
public class EventBootstrap {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EventBootstrap.class)
                .web(WebApplicationType.NONE)
                .run(args);
    }
}
